package com.loan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.loan.entity.Role;

import java.util.List;

/**
 * YJS
 */
public interface RoleService extends IService<Role> {

    void add(Role role , Integer[] permids);


    void updateRolePerm(Role role,Integer[] perms);


    void deleteRoleId(int roleid);

    List<Role> getRoleAll();

    List<Role> getRoleall();


    List<Role> selectbyrole(Role role);
}
